package org.ef.anticheck;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;
import android.os.Handler;
import android.util.Log;

public class DataSupport {
	private HttpClient client;
	private String server;
	private String phone;
	private String key;

	public DataSupport(String serv) {
		server = serv;
	}

	public void updateData() {

	}

	public PhoneInfo getPhoneInfo(String phone) {
		PhoneInfo info = null;
		return info;
	}

	private int connectServer() {
		int ret = 0;

		return ret;
	}

	private String encodeMsg(String msg) {
		String str = null;

		return str;
	}

	private String decodeMsg(String msg) {
		String str = null;

		return str;
	}

}
